package info.bondtnt.labs.model.research;

import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;

/**
 * @author <a href="mailto:bondtnt@gmail.com">Andrey Bondarenko</a>
 * @model
 */
public interface BoundedDoubleParameter extends EObject {
	
	/**
	 * @model changeable="false"
	 */
	public Double getFirstValue();
	

	/**
	 * @model changeable="false"
	 */
	public Double getLastValue();

	/**
	 * @model changeable="false"
	 */
	public EList<Double> getAllValues();
	
	/**
	 * @model changeable="false"
	 */
	public Double getStepValue();

	/**
	 * @model
	 */
	public void setBoundaries(double firstValue, double lastValue, double stepValue);
	
	
	/**
	 * @model
	 */
	public abstract String getName();

	/**
	 * Sets the value of the '{@link info.bondtnt.labs.model.research.BoundedDoubleParameter#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);


	/**
	 * @model changeable="false"
	 */
	public abstract Integer countOfValues();

	/**
	 * Returns value according to its index. 
	 * First index is 0; Last index is (countOfValues() - 1);  
	 * First value usually is less than last;
	 * 
	 * @model changeable="false"
	 */
	public abstract Double getValueByIndex(Integer index);

}
